Array.prototype.my_fill=function(value,start=0,end){
    end = end || this.length
    for(let i=start;i<end;i++){
        this[i]=value//填充数组
    }
    return -1
}
let arr=new Array(5)
arr.my_fill(100,2,4)
console.log(arr)